//
//  TheNewChoseModel.m
//  NewMusic
//
//  Created by dllo on 15/11/16.
//  Copyright © 2015年 Going. All rights reserved.
//

#import "TheNewChoseModel.h"

@implementation TheNewChoseModel
-(instancetype)initWithDictionary:(NSDictionary *)dictionary {
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}
-(void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"image"]) {
        NSDictionary *dic = (NSDictionary *)value;
        self.pic = [dic valueForKey:@"pic"];
    }else if ([key isEqualToString:@"songlist_id"]) {
        self.songlist_ID = [NSString stringWithFormat:@"%@", value];
    }
}
@end
